<!--
  ~ This program is part of the OpenLMIS logistics management information system platform software.
  ~ Copyright © 2013 VillageReach
  ~
  ~ This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  ~  
  ~ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.
  ~ You should have received a copy of the GNU Affero General Public License along with this program.  If not, see http://www.gnu.org/licenses.  For additional information contact info@OpenLMIS.org. 
  -->

<div class="manage-nav" ng-controller="ManageMenuController">
  <ul class="clearfix">
    <li ng-show="hasPermission('MANAGE_FACILITY')" ng-class="facilitySelected">
      <a id="facility-tab" href="/public/pages/admin/facility/index.html"
         openlmis-message="menu.header.facilities"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_ROLE')" ng-class="roleSelected">
      <a id="role-tab" href="/public/pages/admin/role/index.html"
         openlmis-message="menu.header.roles"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_SCHEDULE')" ng-class="schedulesSelected">
      <a id="schedule-tab" href="/public/pages/admin/schedule/index.html"
         openlmis-message="menu.header.schedules"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_USER')" ng-class="userSelected">
      <a id="user-tab" href="/public/pages/admin/user/index.html"
         openlmis-message="menu.header.users"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_SUPERVISORY_NODE')" ng-class="supervisoryNodeSelected">
      <a id="supervisoryNodeTab" href="/public/pages/admin/supervisory-node/index.html"
         openlmis-message="menu.header.supervisory.nodes"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_GEOGRAPHIC_ZONE')" ng-class="geoZoneSelected">
      <a id="geoZoneTab" href="/public/pages/admin/geo-zone/index.html"
         openlmis-message="menu.header.geographic.zones"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_REQUISITION_GROUP')" ng-class="requisitionGroupSelected">
      <a id="requisitionGroupTab" href="/public/pages/admin/requisition-group/index.html"
         openlmis-message="menu.header.requisition.groups"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_SUPPLY_LINE')" ng-class="supplyLineSelected">
      <a id="supplyLineTab" href="/public/pages/admin/supply-line/index.html"
         openlmis-message="menu.header.supply.lines"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_FACILITY_APPROVED_PRODUCT')" ng-class="facilityApprovedProductSelected">
      <a id="facilityApprovedProductTab" href="/public/pages/admin/facility-approved-product/index.html"
         openlmis-message="header.facility.approved.products"></a>
    </li>
    <li ng-show="hasPermission('MANAGE_PRODUCT')" ng-class="productSelected">
      <a id="productTab" href="/public/pages/admin/product/index.html"
         openlmis-message="header.products"></a>
    </li>
  </ul>
</div>